import request from '@/utils/request'

// 查询收藏高校列表
export function listCollegeCollection(query) {
  return request({
    url: '/system/collegeCollection/list',
    method: 'get',
    params: query
  })
}

// 查询收藏高校详细
export function getCollegeCollection(ccollectId) {
  return request({
    url: '/system/collegeCollection/' + ccollectId,
    method: 'get'
  })
}

// 新增收藏高校
export function addCollegeCollection(data) {
  return request({
    url: '/system/collegeCollection',
    method: 'post',
    data: data
  })
}

// 修改收藏高校
export function updateCollegeCollection(data) {
  return request({
    url: '/system/collegeCollection',
    method: 'put',
    data: data
  })
}

// 删除收藏高校
export function delCollegeCollection(ccollectId) {
  return request({
    url: '/system/collegeCollection/' + ccollectId,
    method: 'delete'
  })
}
